const Mock = require("mockjs")
const  data = Mock.mock ({
    "list|5":[{
        "tit":"@ctitle",
        "img":"@Image(100X100,@color)"
    }]
})
module.exports = {
    devServer:{
        before(app){
            app.get("/list",(req,res)=>{
                res.send(data.list)
            })
        }
    }
}